package com.shop.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 订单详情表
 * </p>
 *
 * @author 靳 旺
 * @since 2021-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("base_order_detail")
public class BaseOrderDetailDo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单详情表id
     */
    @TableId(value = "pk_base_order_detail_id", type = IdType.AUTO)
    private Long pkBaseOrderDetailId;

    /**
     * 商品id
     */
    private Long fkCommodityId;

    /**
     * 订单id
     */
    private Long fkBaseOrderId;

    /**
     * 商户id
     */
    private Long fkMerchantsId;

    /**
     * 地区 json id
     */
    private String district;

    /**
     * 快递id
     */
    private Long fkExpressId;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 卖家商品id
     */
    private Long fkSellerCommodityExtendId;

    /**
     * 购买商品数量
     */
    private Long commodityNumber;

    /**
     * 购买商品单价
     */
    private BigDecimal commodityPrice;

    /**
     * 仓库id
     */
    private Long fkWarehouseInfoId;

    /**
     * 颜色id
     */
    private Long fkCommodityColorId;

    /**
     * 尺寸id
     */
    private Long fkCommoditySizeId;

    /**
     * 是否付款：N：否，Y：是
     */
    private String isPayment;

    /**
     * 是否签收：N：否，Y：是
     */
    private String singFor;

    /**
     * 创建人
     */
    private Long createId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 假删除:N：未删除N:已删除
     */
    private String isDel;


}
